package com.bedrock.project.inside.mapper;

import com.bedrock.project.inside.entity.WorkHourWeek;

/**
 * 项目工时周报Mapper接口
 * @author toby.zhang
 * @date 2020-04-27
 */
public interface WorkHourWeekMapper
{
    /**
     * 新增项目工时周报
     * @param workHourWeek 工时周报
     */
    public void insertWorkHourWeek(WorkHourWeek workHourWeek);

    /**
     * 确认项目工时周报
     * @param userId 销售员Id
     * @param confirmId 项目工时确认邮件Id
     */
    public void confirmWorkHourWeek(Long userId,Long confirmId);

    /**
     * 根据销售员Id校验是否为本人下工时周报
     * @param userId 销售员Id
     * @param confirmId 项目工时确认邮件Id
     */
    public int checkWorkHourWeek(Long userId,Long confirmId);

}
